package zhoufu.sz.sanxiao_check.event;

import zhoufu.sz.sanxiao_check.models.IDModel;
import zhoufu.sz.sanxiao_check.models.StreetInfoModel;

/**
 * @author liuhehong
 * @date 2016/5/14 15:44
 * @des
 */
public class Event
{
    public static class RefreshStreetStatuEvent
    {
        private int status;

        private String District;

        public String getDistrict()
        {
            return District;
        }

        public RefreshStreetStatuEvent(int status, String District)
        {
            this.status = status;
            this.District = District;
        }

        public int getStatus()
        {
            return status;
        }
    }

    public static class UpdateStreetInfo
    {
        private StreetInfoModel model;

        public UpdateStreetInfo(StreetInfoModel model)
        {
            this.model = model;
        }

        public StreetInfoModel getModel()
        {
            return model;
        }
    }

    public static class PlaceChangeRefresh
    {
        private IDModel model;

        public PlaceChangeRefresh(IDModel model)
        {
            this.model = model;
        }

        public IDModel getModel()
        {
            return model;
        }
    }

    public static class LocationEvent
    {
        private double Latitude;
        private double Longitude;

        public LocationEvent(double Latitude, double Longitude)
        {
            this.Latitude = Latitude;
            this.Longitude = Longitude;
        }

        public double getLatitude()
        {
            return Latitude;
        }

        public double getLongitude()
        {
            return Longitude;
        }
    }
}
